package service;

import com.github.pagehelper.PageInfo;
import pojo.Goods;

import java.util.List;

public interface GoodsService {
    public PageInfo<Goods> selectAll(Integer pageNum, Integer pageSize,int typeId);

    public Goods selectOne(int id);

    public void deleteOne(int goodsId,int userId);
}
